from django.urls import re_path, path
from . import views

urlpatterns = [
    path('api/v1.0/houses/<int:house_id>',views.HousedetailView.as_view()),
    re_path('^api/v1.0/user/auth$',views.AuthView.as_view()),
    re_path('^api/v1.0/areas$',views.AreaView.as_view()),
    re_path('^api/v1.0/houses$',views.LaunchSearchView.as_view()),
    path('api/v1.0/houses/<int:house_id>/images',views.ImageHouseView.as_view()),
    re_path('^api/v1.0/user/houses$',views.HouselistView.as_view()),
    re_path('^api/v1.0/houses/index$',views.HouseIndexView.as_view()),
    re_path('^api/v1.0/houses/(?P<house_id>\d+)/delete$', views.HousedeleteView.as_view()),



]